import { Injectable } from '@angular/core';


@Injectable()
export class TerminalService {
    constructor() { }
    terminalList = [
        {
            name:"设备1",
            status:0
        },
        {
            name:"设备2",
            status:0
        },
        {
            name:"设备3",
            status:0
        },
        {
            name:"设备4",
            status:0
        },
        {
            name:"设备5",
            status:0
        },
        {
            name:"设备6",
            status:0
        },
        {
            name:"设备7",
            status:0
        },
        {
            name:"设备8",
            status:0
        },
        {
            name:"设备9",
            status:1
        },
        {
            name:"设备1",
            status:0
        },
    ]

    getVolume() :number{

        return 20;
    }

    getTerminalList() {
        return this.terminalList;
    }
}